package com.xianzhiOA.service;/**
 * Created by Administrator on 2017/5/2.
 */

import com.xianzhiOA.bean.XzEmp;
import com.xianzhiOA.bean.XzWork;
import com.xianzhiOA.util.PageBean;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * XzWorkService
 *
 * @author 甘汝雷
 * @create 2017-05-02 11:02
 **/
public interface XzWorkService {
    int insert(XzWork work);
    int delete(Long workId);
    int isdelete(Long workId);
    int update(XzWork work,String empRole);
    List<XzWork> selAll(XzWork work);
    XzWork selById(Long workId);
    boolean selDate(XzWork work);
    Map getWeekByDate(Date time);
    Date myTime(Date date);
    double workActual(XzWork work,Date date);
    String getWeekOfDate(Date dt);
}
